package io.file;

import java.io.File;
import java.io.IOException;

public class Test4 {
    public static void main(String[] args) throws IOException {
        // 在aaa/bbb/ccc文件夹中创建一个a.txt
        File parent = new File("AdvancedCode/src/io/aaa/bbb/ccc");
        if (!parent.exists()) {
            parent.mkdir();
        }
        File file = new File(parent,"a.txt");
        file.createNewFile();


    }
}
